use "$path\datasets\child_care_shortages_states.dta", clear

separate u3_betreung_shortage, by(code == "BAY")


graph bar  u3_betreung_shortage0 u3_betreung_shortage1 , over(code, label(angle(45)) sort(u3_betreung_shortage)) ytitle(Share of parents / below 3 years)  note("Source:  DJI-Kinderbetreuungsreport 2018") blabel(total,format(%9.0f)) bargap(0)  bar(1 ,color(navy)) ylabel(0(5)35)  legend(off) ylab(,angle(horizontal)) nofill

graph export FigureA4/figureA4a.pdf, replace


